package week7th;

import java.io.*;

public class BackPainAnalyzer
{

    public static void main (String[] args) throws FileNotFoundException
    {
        System.out.println ("So, you're having back pain.");

        DecisionTree expert = new DecisionTree("C:\\Users\\赵乾宸\\IdeaProjects\\20172316_de_hello-world\\src\\week7th\\input.txt");
        expert.evaluate();

        System.out.println();
        System.out.println("树高度：" + expert.tree.getHeight() + "\n");
        System.out.println("叶子数：" + expert.tree.numLeaf());
        System.out.println(expert.tree.levelOrderTraversal());
        expert.tree.levelOrderTra();

    }
}
